﻿using System;
using System.Runtime.Serialization;
using NCMIS.ObjectModel.MetaData;

namespace NCMIS.Produce
{
    /// <summary>
    /// Represents a CMIS repository.
    /// </summary>
    [DataContract(Namespace = CmisNs.Cmism)]
    public class RepositoryEntry
    {
        /// <summary>
        /// The id of the repository.
        /// </summary>
        [DataMember(Name = "repositoryId")]
        public string Id
        {
            get;
            set;
        }

        /// <summary>
        /// The name of the repository.
        /// </summary>
        [DataMember(Name = "repositoryName")]
        public string Name
        {
            get;
            set;
        }
    }
}
